package com.boc.langxiang.entity.request;

import com.boc.langxiang.util.StringUtil;

/**
 * Created by Li Guoxi on 2016/6/29.
 */
public class ProductDetailRequest extends MapParamsRequest {

    private String id;

    @Override
    protected void putParams() {
        params.put("id", id);
        if (!StringUtil.isEmpty(token)) {
            params.put("token", token);
        }
//        if (token != null) {
//            params.put("token", token);
//        }
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
